import 'package:flutter/material.dart';

import '../../models/video_list.dart';
import '../../utils/sqflite/SQliteHelp.dart';
import '../../utils/sqflite/SQliteMessage.dart';

class PlayLocationPage extends StatelessWidget {
  get loadPageData async {
    List<Map<String, dynamic>> data = await SQliteHelp.instance.searchData(SQliteMessage.tablePlayData);
    return data.map((item){
      return VideoDetail.fromJson(Map<String, dynamic>.from(item));
    }).toList();
  }


  @override
  Widget build(BuildContext context) {
    print(loadPageData);
    return Container();
  }
}
